package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.AdminFlowingStaticMapper;
import com.ruoyi.system.domain.AdminFlowingStatic;
import com.ruoyi.system.service.IAdminFlowingStaticService;

/**
 * 玩家流水统计Service业务层处理
 * 
 * @author ruoyi
 * @date 2020-11-18
 */
@Service
public class AdminFlowingStaticServiceImpl implements IAdminFlowingStaticService 
{
    @Autowired
    private AdminFlowingStaticMapper adminFlowingStaticMapper;

    /**
     * 查询玩家流水统计
     * 
     * @param id 玩家流水统计ID
     * @return 玩家流水统计
     */
    @Override
    public AdminFlowingStatic selectAdminFlowingStaticById(Long id)
    {
        return adminFlowingStaticMapper.selectAdminFlowingStaticById(id);
    }

    /**
     * 查询玩家流水统计列表
     * 
     * @param adminFlowingStatic 玩家流水统计
     * @return 玩家流水统计
     */
    @Override
    public List<AdminFlowingStatic> selectAdminFlowingStaticList(AdminFlowingStatic adminFlowingStatic)
    {
        return adminFlowingStaticMapper.selectAdminFlowingStaticList(adminFlowingStatic);
    }

    /**
     * 新增玩家流水统计
     * 
     * @param adminFlowingStatic 玩家流水统计
     * @return 结果
     */
    @Override
    public int insertAdminFlowingStatic(AdminFlowingStatic adminFlowingStatic)
    {
        return adminFlowingStaticMapper.insertAdminFlowingStatic(adminFlowingStatic);
    }

    /**
     * 修改玩家流水统计
     * 
     * @param adminFlowingStatic 玩家流水统计
     * @return 结果
     */
    @Override
    public int updateAdminFlowingStatic(AdminFlowingStatic adminFlowingStatic)
    {
        return adminFlowingStaticMapper.updateAdminFlowingStatic(adminFlowingStatic);
    }

    /**
     * 批量删除玩家流水统计
     * 
     * @param ids 需要删除的玩家流水统计ID
     * @return 结果
     */
    @Override
    public int deleteAdminFlowingStaticByIds(Long[] ids)
    {
        return adminFlowingStaticMapper.deleteAdminFlowingStaticByIds(ids);
    }

    /**
     * 删除玩家流水统计信息
     * 
     * @param id 玩家流水统计ID
     * @return 结果
     */
    @Override
    public int deleteAdminFlowingStaticById(Long id)
    {
        return adminFlowingStaticMapper.deleteAdminFlowingStaticById(id);
    }
}
